package com.qianfeng.service;

import com.qianfeng.dao.UserDao;
import com.qianfeng.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceimpl implements UserService{


    @Autowired
    private UserDao dao;


    @Override
    public User getOne(Integer id) {
        return dao.getOne(id);
    }
}
